package com.api.shopapi.service;

import com.api.shopapi.entity.ElderlyCheckinAssessWait;
import com.api.shopapi.entity.dto.ElderlyClassDTO;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.*;

import java.util.List;

public interface ElderlyCheckinAssessWaitService {

    int insert(ElderlyCheckinAssessWait elderlyCheckinAssessWait);

    int delete(String elderlyCheckinAssessWaitCode);

    int update(ElderlyCheckinAssessWait elderlyCheckinAssessWait);

    ElderlyCheckinAssessWait getByCode(String elderlyCheckinAssessWaitCode);

    List<ElderlyCheckinAssessWait> listByInstitutionCode( String institutionCode);

    List<ElderlyCheckinAssessWait> listByGovCode(String governmentCode);

    PageInfo<ElderlyCheckinAssessWait> pageByInsCode(int pageIndex, int pageSize,String institutionCode);

    PageInfo<ElderlyCheckinAssessWait> pageByGovCode(int pageIndex, int pageSize,String governmentCode);

    List<ElderlyCheckinAssessWait> listByElderlyCode(String elderlyCode);

}
